package com.todod.entity;

/**
 * @author lql
 * @date 2020年12月25日
 */
public class QueryProjectInfo {

	private int page = 1;// 页码
	private int limit = 10; // 每页条数

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getLimit() {
		return limit;
	}

	public void setLimit(int limit) {
		this.limit = limit;
	}

	public int getStart() {
		int start = (page - 1) * limit; // 起始页码
		return start;
	}

	private String name;

	private String xiangguanfang;

	private String type;

	private String status;

	private Long companyId;
	private String level;
	private Long parentId; // 父id

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getXiangguanfang() {
		return xiangguanfang;
	}

	public void setXiangguanfang(String xiangguanfang) {
		this.xiangguanfang = xiangguanfang;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Long getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	@Override
	public String toString() {
		return "QueryProjectInfo [page=" + page + ", limit=" + limit + ", name=" + name + ", xiangguanfang="
				+ xiangguanfang + ", type=" + type + ", status=" + status + ", companyId=" + companyId + ", level="
				+ level + ", parentId=" + parentId + "]";
	}

}
